CN110543269A - Message processing method and device, terminal equipment and storage medium - Google Patents

Message processing method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN110543269A
CN110543269A CN201910844221.XA CN201910844221A CN110543269A CN 110543269 A CN110543269 A CN 110543269A CN 201910844221 A CN201910844221 A CN 201910844221A CN 110543269 A CN110543269 A CN 110543269A
Authority
CN
China
Prior art keywords
unread message
session object
message
unread
session
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201910844221.XA
Other languages
Chinese (zh)
Other versions
CN110543269B (en
Inventor
高萌
孙帅
陈建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910844221.XA priority Critical patent/CN110543269B/en
Priority to CN202110363791.4A priority patent/CN112987995A/en
Publication of CN110543269A publication Critical patent/CN110543269A/en
Application granted granted Critical
Publication of CN110543269B publication Critical patent/CN110543269B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

the embodiment of the invention discloses a message processing method, a message processing device, terminal equipment and a storage medium, wherein the method comprises the following steps: and outputting the unread message indication information of the target session objects with the unread messages, if the preview viewing operation aiming at any one of the target session objects is detected, acquiring the unread messages of the first session object, and performing preview display processing on the acquired unread messages of the first session object to display the unread messages of the first session object. By adopting the invention, the viewing efficiency of the unread messages can be improved.

Description

message processing method and device, terminal equipment and storage medium
Technical Field
the present application relates to the field of computer technologies, and in particular, to a message processing method and apparatus, a terminal device, and a storage medium.
Background
In social applications, there are typically a large number of unread messages that appear. When a user wants to view the unread messages, the user mainly views the unread messages by frequently entering each session page corresponding to the unread messages. Therefore, the unread messages are checked in a mode that the user needs to switch among all the session pages continuously, the operation is complex, and the efficiency of checking the unread messages is low.
Disclosure of Invention
The embodiment of the invention provides a message processing method, a message processing device, terminal equipment and a storage medium, which can improve the viewing efficiency of unread messages.
In one aspect, an embodiment of the present invention provides a message processing method, including:
Outputting unread message indication information of a target session object with unread messages, wherein the unread message indication information records object information and an unread message indication identifier of the target session object;
If the preview viewing operation aiming at the first session object is detected, obtaining the unread message of the first session object, wherein the first session object is any one of the target session objects;
Performing preview display processing on the acquired unread message of the first session object to display the unread message of the first session object;
Wherein the preview display processing includes: and carrying out bullet screen display processing on the unread message so as to display the unread message in a bullet screen mode, or generating a preview display window and displaying the unread message in the preview display window.
in another aspect, an embodiment of the present invention provides a message processing apparatus, including:
The output module is used for outputting the unread message indication information of the target session object with the unread message, wherein the unread message indication information records the object information and the unread message indication identifier of the target session object;
The detection module is used for detecting preview viewing operation aiming at a first session object, wherein the first session object is any one of the target session objects;
the obtaining module is further configured to obtain an unread message of a first session object if a preview viewing operation for the first session object is detected;
The processing module is used for performing preview display processing on the acquired unread message of the first session object so as to display the unread message of the first session object;
Wherein the preview display processing includes: and carrying out bullet screen display processing on the unread message so as to display the unread message in a bullet screen mode, or generating a preview display window and displaying the unread message in the preview display window.
correspondingly, an embodiment of the present invention further provides a terminal device, including: a processor, a storage device, an input device, and an output device; the storage device is used for storing program instructions; the processor calls the program instructions to perform: outputting unread message indication information of a target session object with unread messages through output equipment, wherein the unread message indication information records object information and an unread message indication identifier of the target session object; if the preview viewing operation aiming at the first session object is detected, obtaining the unread message of the first session object, wherein the first session object is any one of the target session objects; performing preview display processing on the acquired unread message of the first session object to display the unread message of the first session object; wherein the preview display processing includes: and carrying out bullet screen display processing on the unread message so as to display the unread message in a bullet screen mode, or generating a preview display window and displaying the unread message in the preview display window.
Accordingly, the embodiment of the present invention further provides a computer storage medium, in which program instructions are stored, and when the program instructions are executed, the computer storage medium is used for implementing the above methods.
The embodiment of the invention can output the unread message indication information of the target session object with the unread message, and if the preview viewing operation aiming at the first session object is detected, the unread message of the first session object is obtained, and the obtained unread message of the first session object is subjected to preview display processing to display the unread message of the first session object. By adopting the mode, the unread messages can be previewed directly without switching back and forth in the session pages of all the session objects, and the viewing efficiency of the unread messages is improved.
Drawings
in order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a message processing method according to an embodiment of the present invention;
FIGS. 2a to 2i are schematic diagrams of pages involved in an embodiment of the invention;
FIG. 3 is a flow chart illustrating another message processing method according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating a further message processing method according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating a further message processing method according to an embodiment of the present invention;
FIG. 6 is a flow chart illustrating a further message processing method according to an embodiment of the present invention;
Fig. 7 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present invention;
Fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
on one hand, the message processing method provided in the embodiment of the present invention may output the unread message indication information of the target session object in which the unread message exists, and if a preview viewing operation for the first session object is detected, obtain the unread message of the first session object, and perform preview display processing on the obtained unread message of the first session object to display the unread message of the first session object, so as to implement fast preview of the unread message and improve the viewing efficiency of the unread message. On the other hand, the method and the device can enter the conversation page of the conversation object based on the chat operation of the unread messages existing in the conversation object, and automatically position the unread messages corresponding to the chat operation in the conversation page, so that the unread messages corresponding to the chat operation are displayed on the conversation page, and the unread messages corresponding to the chat operation can be rapidly processed by the user conveniently. The message processing method may be applied to a terminal device or a client, where the terminal device is pre-installed with a social application or a website capable of starting the social application, and the client may be the social application itself, which is not specifically limited in the present invention.
The first session object is any one of the target session objects with unread messages. In a social application, a session object may be understood as a chat object of a user in the social application, such as a group, a group or a friend of the user in the social application. The preview display processing comprises bullet screen display processing on the unread message so as to display the unread message in a bullet screen mode; or generating a preview display window and displaying the unread message in the preview display window.
In an embodiment, the preview display processing includes bullet screen display processing on unread messages, please refer to a flowchart of a message processing method shown in fig. 1. The terminal device may output the unread message indication information of the target session object in the session list page corresponding to the social application, and after the user views the session object list page, when the user wants to view the unread message of any one session object, a preview viewing operation may be input for the any one session object (i.e., the first session object). Further, the terminal device may detect a preview viewing operation input for the first session object in S101, obtain message data corresponding to the first session object to the background server based on the identification information (e.g., ID) of the first session object in S102, parse the message data in S103, obtain at least one unread message corresponding to the first session object, and store the at least one unread message corresponding to the first session object to a local message queue. Further, a bullet screen page may be generated in S104, and at least one unread message corresponding to the first session object is displayed in the bullet screen page in a bullet screen form, where one unread message corresponds to one bullet screen message, so as to achieve the purpose of displaying a bullet screen.
Further, after the user views the unread message of the first session object displayed in the bullet screen page, if any one of the bullet screens displayed in the bullet screen page is interested, the chat operation can be input for the any one of the bullet screens (i.e., the first unread message). The terminal device may detect a chat operation for any bullet screen in S105, further read the identification information of any bullet screen in S106, identify a session page corresponding to any bullet screen based on the identification information of any bullet screen in S107, and then jump to the session page corresponding to any bullet screen. Further, the terminal device may position any one of the barrages in the session page in S108, so that any one of the barrage messages is displayed in the session page, and automatically pull up the character input box, thereby facilitating the user to quickly process any one of the barrage messages according to the context of any one of the barrage messages.
In an embodiment, if the terminal device detects that the type of the first session object is a group chat session type based on the identification information of the first session object, in S108, in addition to the steps of locating any bullet screen in the session page and automatically pulling up the character input box in the session page, an @ function may be called in the character input box to obtain a user identifier of a target user corresponding to the any bullet screen, and a dedicated notification identifier is filled in the character input box, where the dedicated notification identifier is used to identify that the dialog input information entered after the dedicated notification identifier is information for notifying the target user. For example, if the nickname of the target user corresponding to the bullet screen in the social application is june (i.e., the user identifier of the target user), the specific notification identifier of "@ june" may be automatically filled in the character input box, and it is characterized that the dialog input information entered after "@ june" is information for notifying the target user of the "june". For example, the user may input dialog input information that the user wants to transmit itself, such as "@ smallpox xxxx", after a nickname of the target user. Or, the user deletes the exclusive notification identifier in the character input box according to the requirement of the user, and re-inputs the dialogue input information.
Referring to fig. 2a and fig. 2b, it is assumed that an output session object list page is as shown in fig. 2a, and it can be seen that the session object list page includes 8 session objects, which are: friend a, friend B, XX group 1, XX group 2, XX preference group 1, applet, friend C, and car friend group. The XX group 1, the XX group 2, the XX preference group 1 and the friend C are all target session objects with unread messages. When the user wants to view the unread message of XX group 1, a preview viewing operation can be entered for that XX group 1. Further, the terminal device may generate a bullet screen page, and display at least one unread message corresponding to the first session object in the bullet screen page in a bullet screen manner, where one unread message corresponds to one bullet screen message, so as to obtain a session object list page 20 shown in fig. 2 b.
Further, after the user views the unread message of the XX group 1 displayed in the bullet screen page, the chat operation is input for the unread message "to be handed off. For the situation, the terminal device may read the identification information of the unread message "ready to chop hand cheer", determine that the session where the unread message "ready to chop hand cheer" is located is XX group 1, jump to the session page of XX group 1, and position the location where the unread message "ready to chop hand cheer" is located in the session page of XX group 1, so that the unread message "ready to chop hand cheer" is displayed in the session page, automatically pull up the character input box 210 in the session page, call the @ function in the character input box, automatically fill the dedicated notification identification indicating that the unread message "ready to chop hand cheer" corresponds to the target user "greatly xian" in the character input box, and obtain the session page 21 of XX group 1 as shown in fig. 2 b.
In another embodiment, the preview display processing includes generating a preview display window and displaying the unread message in the preview display window. The shape of the preview display window may be preset by a developer, and may be a regular shape (e.g., rectangle, ellipse, polygon, etc.), or an irregular shape. For this case, please refer to the flowchart of another message processing method shown in fig. 3. The terminal device may output the unread message indication information of the target session object in the session list page corresponding to the social application, and after the user views the session object list page, when the user wants to view the unread message of any session object (i.e., the first session object), a preview viewing operation may be input for the first session object. Further, the terminal device may detect a preview viewing operation input for the first session object in S301, and then obtain, in S302, message data corresponding to the first session object from the backend server based on identification information (for example, an ID) of the first session object, further, may parse the message data in S303, extract an unread message therefrom, obtain at least one unread message corresponding to the first session object, and store the at least one unread message corresponding to the first session object in the local list. Further, the terminal may generate a preview display window in S304, and scroll-display each unread message corresponding to the first session object in the preview display window in S305.
Further, after the user views the unread message of the first session object displayed in the preview display window, if any unread message (i.e., the first unread message) displayed in the preview display window is interested, a chat operation may be input for the any unread message. The terminal device detects a chat operation for any unread message in S306, reads the identification information of any unread message in S307, identifies the first session where any unread message is located based on the identification information of any unread message, and then jumps to a session page corresponding to the first session (i.e., a session page corresponding to any unread message). Further, the terminal device may position any unread message in the session page in S308, so that any unread message is displayed in the session page, and automatically pull up the character input box, thereby facilitating the user to quickly process any unread message. In an embodiment, if the terminal device detects that the type of the first session object is a group chat session type based on the identification information of the first session object, in step S308, in addition to the steps of locating any unread message in the session page and automatically pulling up the character input box in the session page, an @ function may be called in the character input box to obtain a user identification of a target user corresponding to any bullet screen, and an exclusive notification identification is filled in the character input box, where the exclusive notification identification is used to identify that the dialog input information entered after the exclusive notification identification is information for notifying the target user.
For example, referring to fig. 2c, which is a schematic diagram of another page according to an embodiment of the present invention, assuming that the preview display window is rectangular, and the output session object list page is as shown in fig. 2a, it can be seen that the session object list page includes 8 session objects, which are: friend a, friend B, XX group 1, XX group 2, XX preference group 1, applet, friend C, and car friend group. The XX group 1, the XX group 2, the XX preference group 1 and the friend C are all target conversation information with unread messages. When the user wants to view the unread message of XX group 1, a preview viewing operation can be entered for that XX group 1. Further, the terminal device may generate a rectangular preview display window on the session object list page, and scroll and display at least one unread message corresponding to XX group 1 in the rectangular preview display window, so as to obtain the session object list page 22 shown in fig. 2 c.
Further, after the user views the unread message of XX group 1 displayed in the rectangular preview display window, the user inputs a chat operation for the unread message "ready to chop hands and cheers". For the situation, the terminal device may read the identification information of the unread message "ready to chop hand cheer", determine that the session where the unread message "ready to chop hand cheer" is located is XX group 1, jump to the session page of XX group 1, locate the position where the unread message "ready to chop hand cheer" is located in the session page of XX group 1, so that the unread message "ready to chop hand cheer" is displayed in the session page, automatically pull up the character input box in the session page, call the @ function in the character input box, automatically fill the exclusive notification identification corresponding to "greatly sagexin" of the target user for the unread message "ready to chop hand cheer" in the character input box, and obtain the session page 23 of XX group 1 as shown in fig. 2 c.
in one embodiment, the preview display window may further include a message scroll function button in addition to displaying the unread messages, for example, as shown in fig. 2c, the message scroll function button may be, for example, a message scroll bar 220 in fig. 2c, and the user may pull the unread messages displayed in the preview display window up and down through the message scroll bar, so that the user can quickly browse all the unread messages in XX group 1.
in one embodiment, for processing the unread message of the preset session object of interest, reference may be made to a flowchart of still another message processing method shown in fig. 4. The user can set one or more session objects as the concerned session objects according to the self requirements, and the terminal device can determine the one or more session objects set by the user as the preset concerned session objects after detecting that the user setting is completed. Further, the terminal device may obtain the unread message of the preset session object of interest in S401, and specifically, the terminal device may obtain, in real time or according to a preset period, message data corresponding to the preset session object of interest from the background server based on the identification information of the preset session object of interest, analyze the message data, extract the unread message from the message data, and obtain at least one unread message corresponding to the preset session object of interest. Further, the terminal device may store at least one unread message corresponding to the preset session object of interest to a local message queue in S402.
Further, when the terminal device detects that the session list page is output in S403, the terminal device may perform preview display processing on the obtained unread message of the preset session object of interest, so as to display at least one unread message corresponding to the preset session object of interest. Further, after the user views the unread message of the preset focused session object, if any unread message displayed in the unread message preview page is interested, the user can input a chat operation for the any unread message. After receiving the chat operation for any unread message in S404, the terminal device may read the identification information of any unread message in S405, identify the session object where any unread message is located based on the identification information of any unread message in S406, and then jump to the session page corresponding to the session object where any unread message is located. Further, the terminal device may position any unread message in the session page in S407, so that any unread message is displayed in the session page, and automatically pull up the character input box, thereby facilitating the user to quickly process any unread message.
if the terminal device detects that the type of the session object where the unread message is located is a group chat session type based on the identification information of the preset concerned session object, in S407, in addition to the positioning of the unread message in the session page and the automatic pulling up of the character input box in the session page, an @ function may be called in the character input box to obtain a user identification of a target user (i.e., a user corresponding to the preset concerned session object) corresponding to the unread message, and an exclusive notification identification is filled in the character input box, where the exclusive notification identification is used to identify dialog input information entered after the exclusive notification identification as information for notifying the target user. By adopting the method, the enhanced reminding and the quick preview of the unread messages of the important contacts can be realized.
For example, please refer to fig. 2d, which is a schematic diagram of another page according to an embodiment of the present invention, assuming that a popup page is used to display unread information of a preset session object of interest, a menu interface of a terminal device is shown as 24 in fig. 2d, the menu interface includes a social application 240, and a nickname of the preset session object of interest in the social application 240 is greatly worthy. For this situation, when the terminal device detects that the social application 240 is opened, the session object list page corresponding to the social application 240 may be output. Further, the terminal device may obtain the at least one unread message corresponding to the great xian from the local message queue, generate a popup screen page, and display the at least one unread message in the popup screen page in a popup screen manner, so as to obtain a session object list page 25 as shown in fig. 2 d.
Further, after the user views the unread messages with great sags displayed in the bullet screen page, the chat operation is input aiming at the unread messages of the money ready to be rewound. For this situation, the terminal device reads the identification information of the unread message "qian all ready to le", determines that the session in which the unread message "qian all ready to le" is located is XX group 1, then jumps to the session page of XX group 1, and locates the position in the session page where the unread message "qian all ready to le" is located, so that the unread message "qian all ready to le" is displayed in the session page, automatically pulls up the character input box in the session page, calls the @ function in the character input box, fills the special notification identification of "greatly xian" corresponding to the target user in the character input box for the unread message "qian all ready", and obtains the session page 26 of XX group 1 as shown in fig. 2 d.
The input modes of the preview viewing operation and the chat operation can be voice, pressing, clicking or sliding, and the like. For example, the preview viewing operation for the first session object may be an indication identifier (e.g., a red dot), a head portrait, and the like of an unread message pressed for a long time, and the chat operation for any bullet screen or any unread message may be a click on any bullet screen or any unread message, which is used to trigger the terminal device to jump to a chat page (i.e., a session page) corresponding to any bullet screen or any unread message. The present invention is not particularly limited in this regard.
fig. 5 is a schematic flow chart of message processing according to an embodiment of the present invention, where the method according to the embodiment of the present invention may be executed by a terminal device. The method of an embodiment of the present invention includes the following steps.
S501: and outputting the unread message indication information of the target session object with the unread message, wherein the unread message indication information records the object information and the unread message indication identification of the target session object.
in one embodiment, the terminal device may output the unread message indication information of the target session object in a session list page corresponding to the social application. In this case, the object information of the target session object may include avatar information, a nickname, latest read information, and a transmission time of the latest read information of the session object, and the like, and the unread message indication identifier of the target session object indicates that there are unread messages and the number of unread messages for the corresponding target session object.
In the social application, the avatar is a virtual user image representing a social application account of the user, and other users can conveniently find the user from numerous contacts in the address list in the communication process with other users, so that the communication waiting time is shortened, and the communication success rate is improved. Different avatars typically contain different avatar information, and virtual users in a social application may exhibit different modalities based on the different avatar information.
Illustratively, the session object list page may be as shown in fig. 2a, and it can be seen that the session object list page includes 8 session objects, which are: friend a, friend B, XX group 1, XX group 2, XX preference group 1, applet, friend C, and car friend group. The XX group 1, the XX group 2, the XX preference group 1 and the friend C respectively have corresponding unread message indication marks. For this situation, as the XX group 1, the XX group 2, the XX preference group 1, and the friend C each have their own corresponding unread message indication identifier, the XX group 1, the XX group 2, the XX preference group 1, and the friend C can all be determined as the target session object.
in one embodiment, the terminal device may output, in the menu interface, unread message indication information of the target session object, where the unread message indication information records object information and an unread message indication identifier of the target session object. In this case, the object information of the target session object may include avatar information, a nickname, and latest unread information of the target session object, etc., the unread message of the target session object indicating the presence of unread messages and the number of unread messages identifying the corresponding target session object. Exemplarily, the unread message indication information of the target session object output in the menu interface can be shown in fig. 2e, and it can be seen that 2 target session objects are output on the menu interface, which are: the XX group 1 and the friend A, the unread message indication mark corresponding to the XX group 1 indicates that the XX group 1 has unread messages, and the number of the unread messages is 4.
S502: and if the preview viewing operation aiming at the first session object is detected, obtaining the unread message of the first session object, wherein the first session object is any one of the target session objects. The input manner of the preview viewing operation may be voice, pressing, clicking, sliding, or the like, for example, the unread message indication identifier of the first session object is pressed for a long time, the avatar, or the like, which is not particularly limited in this embodiment of the present invention.
S503: and performing preview display processing on the acquired unread message of the first session object to display the unread message of the first session object. Wherein the preview display processing includes: and carrying out bullet screen display processing on the unread message so as to display the unread message in a bullet screen mode, or generating a preview display window and displaying the unread message in the preview display window.
In an embodiment, when the preview display processing is bullet screen display processing on unread messages of the first session object, the terminal device may generate a bullet screen page, and display at least one unread message corresponding to the first session object in a bullet screen form in the bullet screen page, where one unread message corresponds to one bullet screen message, so as to achieve the purpose of displaying a bullet screen. Or, in another embodiment, when the preview display processing is to generate a preview display window and display the unread messages in the preview display window, the terminal device may generate the preview display window and scroll-display at least one unread message corresponding to the first session object in the preview display window.
The preview display processing performed on the unread message may be preset by default, or may be selected by the user from a plurality of preset preview display processing according to the user's own needs. For example, the terminal device is preset with two preview display processes, which are respectively: and performing bullet screen display processing on the unread messages so as to display the unread messages in a bullet screen mode and generate a preview display window, and displaying the unread messages in the preview display window, wherein the preview display processing selected by the user according to the requirement of the user is the bullet screen display processing on the unread messages. For this situation, the terminal device may generate a bullet screen page, and display at least one unread message corresponding to the first session object in the bullet screen page when step S503 is executed.
in an embodiment, the terminal device performs preview display processing on the acquired unread message of the first session object, so that after the unread message of the first session object is displayed, the terminal device may default that the user has already viewed at least one unread message corresponding to the first session object. In this case, if the unread message indication information of the target session object is displayed in a session object list page of the social application, the terminal device may delete, in the session object list page, the unread message indication identifier corresponding to the first session object in the unread message indication information. If the unread message indication information of the target session object is displayed in the menu interface of the terminal device, the terminal device may delete the unread message indication information of the first session object in the menu interface.
in a conversation object list page (e.g., a chat list page) of a social application, there are typically a large number of unread messages that appear. In order to prompt the user of the existence of these unread messages, an unread message indicator (e.g., a red dot) is usually used to prompt the unread messages and the number corresponding to the target session object in which the unread messages exist. At present, in order to eliminate the unread message indicator, the following two methods are mainly used:
In the first mode, the unread messages can be quickly eliminated in a session list page in a dragging mode of the unread message indication marks, and the unread messages are changed into the unread messages. By adopting the mode, on one hand, the quick preview of the unread message cannot be realized, and important information is easy to miss; on the other hand, the elimination mode is single, and the interactivity and the interestingness are lacked.
Referring to fig. 2f, a schematic diagram of another page according to an embodiment of the present invention is shown, and it is assumed that a session list page is shown as 27 in fig. 2f, and the session list page includes an unread message indicator 270 corresponding to XX group 1. When the user wants to remove the unread message indicator 270 corresponding to XX group 1, the unread message indicator 270 may be removed by pressing and dragging the unread message indicator 270 upwards, and the session list page after removing the unread message indicator 270 is shown as 28 in fig. 2 f.
and secondly, the unread message indication marks are eliminated by clicking the incoming session pages one by one, when the unread message indication marks of a plurality of target session objects need to be eliminated, the unread message indication marks need to be frequently entered into each session page for elimination, the operation is complex, and the elimination efficiency of the unread message indication marks is low.
For example, referring to fig. 2g, which is a schematic diagram of another page according to an embodiment of the present invention, assuming that a session list page is shown as 290 in fig. 2g, when a user wants to remove an indication identifier of an unread message corresponding to XX group 1, the user may click on a session page 291 entering XX group 1 to view the unread message corresponding to XX group 1. When the terminal device detects that the user returns to the session list page from the session page 291, the indication identifier of the unread message corresponding to the XX group can be automatically deleted in the session list page.
Compared with the elimination mode of the unread message indication identifier in the first mode and the second mode, in the embodiment of the invention, at least one unread message corresponding to the first session object can be quickly previewed on the session object list page through the preview viewing operation aiming at the first session object, and the unread message existing in the first session object is changed into a read message, so that the unread message indication identifier of the first session object can be quickly eliminated, the unread message can be quickly previewed, and important information is prevented from being missed.
The embodiment of the invention can output the unread message indication information of the target session object with the unread message, and if the preview viewing operation aiming at the first session object is detected, the unread message of the first session object is obtained, and the obtained unread message of the first session object is subjected to preview display processing to display the unread message of the first session object. By adopting the mode, the unread messages can be previewed directly without switching back and forth in the session pages of all the session objects, and the viewing efficiency of the unread messages is improved.
referring to fig. 6 again, it is a schematic flow chart of another message processing according to the embodiment of the present invention, and the method according to the embodiment of the present invention may be executed by a terminal device. The method of an embodiment of the present invention includes the following steps.
S601: and outputting the unread message indication information of the target session object with the unread message, wherein the unread message indication information records the object information and the unread message indication identification of the target session object. For a specific implementation of step S601, reference may be made to the related description of step S501 in the foregoing embodiment, and details are not repeated here.
s602: and if the preview viewing operation for the first session object is detected, obtaining the unread message of the first session object, and performing preview display processing on the obtained unread message of the first session object to display the unread message of the first session object, wherein the first session object is any one of the target session objects.
In an embodiment, when detecting a preview viewing operation for a first session object, a terminal device may obtain, from the terminal device, message data corresponding to the first session object based on identification information of the first session object, parse the message data to obtain at least one unread message corresponding to the first session object, and store the at least one unread message corresponding to the first session object in a message queue. Further, each unread message corresponding to the first session object may be obtained from the message queue. Each unread message in the message queue is stored according to a preset message format, wherein the preset message format comprises: the identification information corresponding to each unread message has a corresponding relationship with the message content, and the identification information corresponding to the unread message may include a user ID of the user corresponding to the unread message in the social application, so as to uniquely identify the user in the social application.
wherein, the preview display processing comprises bullet screen display processing of the unread message so as to display the unread message in a bullet screen mode; or generating a preview display window and displaying the unread message in the preview display window.
In an embodiment, when the preview display processing includes bullet screen display processing on the unread messages, the terminal device may obtain at least one unread message corresponding to the first session object from the message queue, generate a bullet screen page, and display at least one unread message corresponding to the first session object in a bullet screen form in the bullet screen page, where one unread message corresponds to one bullet screen message.
In an embodiment, when the terminal device displays at least one unread message corresponding to the first session object in a bullet screen form in a bullet screen page, the terminal device may perform scrolling display based on the priority of each unread message. Specifically, the terminal device may determine a priority of each unread message in at least one unread message corresponding to the first session object, and determine a queue to which each unread message belongs and a display order of each queue, where each queue includes one or more unread messages, and then scroll-display each queue in a bullet screen manner according to the display order of each queue.
each queue corresponds to a maximum message quantity threshold n (n is a positive integer) capable of being accommodated, the maximum message quantity threshold is related to the maximum message quantity which can be displayed on the bullet screen page at one time, and the maximum message quantity threshold can be set according to experimental measurement and calculation data. The priority determination method includes determining based on the sending time of each unread message or determining based on the text analysis result of each unread message.
In an embodiment, the determining manner of the priority may be determined based on sending time of each unread message, in this case, the terminal device may read sending time of each unread message corresponding to the first session object, sort each unread message according to a sequence of the sending time, determine the unread message of n before the sorting as a first priority, divide the unread message into a first queue, and display order of the unread messages in the first queue is 1; and determining the unread messages between the sequencing n +1-2n as a second priority, dividing the unread messages into a second queue, wherein the display sequence of the unread messages in the second queue is 2, and so on until the priorities of all the unread messages corresponding to the first session object and the queues to which the unread messages belong are determined.
Illustratively, assuming that the maximum message number threshold corresponding to each queue is 5, there are 12 unread messages in the first session object, each of the 12 unread messages, and the sending time of each unread message, as shown in table 1. For this situation, the terminal device sorts the unread messages according to the order of the sending time, and may determine the unread messages (i.e., X1, X2, X3, X4, and X5) sorted to the first 5 as a first priority, divide the unread messages (i.e., X6, X7, X8, X9, and X10) sorted to 6-10 as a second priority, divide the unread messages into a second queue, determine the remaining unread messages (X12, and X12) sorted to 11-12 as a third priority, and divide the unread messages into a third queue. Further, the unread messages in the first queue can be firstly displayed in a rolling mode in the bullet screen page, the unread messages in the second queue can be secondly displayed in a rolling mode, and the unread messages in the third queue can be finally displayed in a rolling mode.
TABLE 1
When each unread message is displayed in the bullet screen page in a rolling manner, the rolling speed can be preset in advance according to experimental data, and the rolling speed can be adjusted subsequently according to the self requirements of a user.
in an embodiment, the priority may be determined based on a text analysis result of each unread message, in which case, the terminal device may perform text analysis on each unread message corresponding to the first session object, and determine the priority of each unread message based on the text analysis result.
in one embodiment, the text analysis result may represent the number of characters of each unread message, and the terminal device may determine the priority of each unread message according to the number of characters of each unread message. Illustratively, the terminal device may determine, as the first priority, an unread message whose number of characters is greater than or equal to a first preset number-of-characters threshold; determining the unread messages with the character number smaller than the first preset character number threshold value and larger than or equal to a second preset character number threshold value as a second priority; and determining the unread messages with the number of characters less than a second preset character number threshold as a third priority. The first preset character number threshold and the second preset character number threshold are preset according to experimental data, and the first preset character number threshold is larger than the second preset character number threshold. The first preset character number threshold and the second preset character number threshold in the embodiment of the present invention are only an example, and in other embodiments, in order to divide the priority of the unread message, other character number thresholds may be further set, for example, a third preset character number threshold, a fourth preset character number threshold, and the like, which is not specifically limited in the embodiment of the present invention.
In another embodiment, the preview display processing includes generating a preview display window, and displaying an unread message in the preview display window, where the terminal device may obtain at least one unread message corresponding to the first session object from the message queue, generate the preview display window, and scroll-display the at least one unread message corresponding to the first session object in the preview display window at a preset scroll speed.
in an embodiment, after the terminal device obtains at least one unread message corresponding to the first session object from the message queue, the priority of each unread message may also be determined, and each unread message is divided into the queue to which it belongs and the display order of each queue based on the priority, so that the unread messages in each queue are scrolled and displayed based on the display order of each queue and the preset scrolling speed. The priority determination method may include the above-mentioned determination based on the sending time of each unread message or the determination based on the text analysis result of each unread message, which is not described herein again.
The preset rolling speed is preset by a developer based on experimental data, and a user can adjust the preset rolling speed based on own requirements. In an embodiment, a scroll speed adjustment button is further displayed in the preview display window, and after the terminal device displays at least one unread message corresponding to the first session object in the preview display window in a scrolling manner at a preset scroll speed, when a touch operation for the scroll speed adjustment button is detected, the scroll speed adjustment page may be displayed on the preview display window in an overlaid manner, and the preset scroll speed is adjusted based on an adjustment operation for the scroll speed adjustment button in the scroll speed adjustment page.
for example, the scroll speed adjustment button may include a scroll speed increase button or a scroll speed decrease button, please refer to fig. 2h, which is a schematic diagram of still another page according to an embodiment of the present invention, and it is assumed that the page of the session object list after the terminal performs step S602 is shown as 292 in fig. 2h, the preview display window displayed on the page of the session object list includes the scroll speed adjustment button 292, the user may input a click operation (i.e., a touch operation) with respect to the scroll speed adjustment button 2920, the terminal device may display the scroll speed adjustment page 2930 on the preview display window in an overlaying manner, the scroll speed adjustment page 2930 includes a scroll speed increase button 2931 and a scroll speed decrease button 2932, the terminal device may increase a preset scroll speed in response to the adjustment operation with respect to the scroll speed increase button 2931, the preset scroll speed is decreased in response to the adjustment operation for the scroll speed decrease button 2932.
In an embodiment, the scroll speed adjustment button may include at least one double-speed button, for example, as shown in fig. 2i, which is a schematic diagram of another page according to an embodiment of the present invention, "1X", "1.25X", and "0.75X" in fig. 2i are all double-speed buttons, and the terminal device may adjust the preset scroll speed based on a double speed corresponding to any one double-speed button in response to an adjustment operation for any one double-speed button. For example, the user inputs a click operation (i.e., an adjustment operation) with respect to the double speed button "1.25X", and the terminal device may increase the preset scroll speed by 1.25 times in response to the click operation.
S603: when the chat operation aiming at the first unread message is detected, jumping to a conversation page of a first conversation object, wherein the first unread message is any unread message in at least one unread message corresponding to the first conversation object, and the conversation page comprises a character input box for receiving conversation input information and a message display area for displaying messages.
s604: the first unread message is displayed in a message display area of the conversation page.
In an embodiment, the terminal device may obtain display position information of the first unread message in at least one unread message corresponding to the first session object, and perform sliding display processing on the unread message existing in the first session object in a message display area of the session page according to the obtained display position information until the first unread message is displayed in the message display area of the session page.
In an embodiment, the display position information of the first unread message in the at least one unread message corresponding to the first session object may include an arrangement order of the first unread message in the at least one unread message corresponding to the first session object. In an embodiment, each unread message corresponding to the first session object corresponds to a sending time, and the unread messages may be sorted according to a reverse order of time.
further, assuming that the arrangement order of the first unread message in each unread message corresponding to the first session object is m (m is an integer greater than or equal to 1), after the terminal device jumps to the session page of the first session object, each unread message is displayed in the message display area of the session page from bottom to top according to the time reverse order of the sending time of the unread message, that is, the sending time of the unread message displayed at the bottom in the message display area is latest (i.e., the arrangement order in each unread message corresponding to the first session object is 1), and the sending time of the unread message displayed at the top in the message display area is older. It can be seen that if the unread messages are displayed in a time-reversed manner, a situation that the first unread message does not exist in the current session page may occur, and when the user wants to view the first unread message, the user needs to manually slide the unread messages, so as to find the first unread message. In the embodiment of the present invention, the terminal device may automatically perform sliding display processing on the unread messages existing in the first session object in the message display area of the session page based on the arrangement order m of the first unread messages in at least one unread message corresponding to the first session object, until the first unread messages with the ordering order m are displayed in the message display area of the session page, without manual sliding by a user, so that the user can conveniently and quickly process the first unread messages according to the context of the first unread messages.
In an embodiment, after the terminal device jumps to a session page of the first session object, the identification information of the first session object may also be obtained, and the type of the first session object is determined based on the identification information, if the type of the first session object is a group chat session type, a user identifier of a target user corresponding to the first unread message is obtained, and an exclusive notification identifier is filled in the character input box, where the exclusive notification identifier is used to identify that the session input information entered after the exclusive notification identifier is information for notifying the target user.
Alternatively, in another embodiment, if the type of the first session object is a one-man chat session type, the character input box may be pulled up in the session page to facilitate the user in editing the dialog input information in the character input box.
For specific implementation of step S603 and step S604, reference may also be made to the related description of fig. 2b and fig. 2c in the foregoing embodiment, and details are not repeated here.
In one embodiment, to enable enhanced reminders and quick previews of unread messages for important contacts. The user can set one or more session objects (namely important contacts) as session objects to be paid attention to according to the requirements of the user, and the terminal equipment can determine the one or more session objects as the preset session objects to be paid attention to after detecting that the user setting is completed. Further, the terminal device may obtain, in real time or according to a preset period, message data corresponding to the preset session object of interest from the server based on the identification information of the preset session object of interest, analyze the message data to obtain at least one unread message corresponding to the preset session object of interest, and store the at least one unread message corresponding to the preset session object of interest to the message queue.
Further, in a case that the session list page is detected to be output, the terminal may obtain at least one unread message corresponding to the preset session object of interest from the message queue, and display the at least one unread message corresponding to the preset session object of interest in the session list page. For the specific implementation of the unread message for the preset session object of interest, reference may also be made to the related descriptions in fig. 4 and fig. 2d in the foregoing embodiments, which are not described herein again.
In one embodiment, the terminal device may be any node device in the blockchain, and unread messages and read messages of the user in the social application, or memos of other users, and other messages may be stored through the blockchain as needed. In this case, when the terminal device detects a preview viewing operation for the first session object, the terminal device may acquire an unread message of the first session object from the blockchain, and perform a preview display process on the acquired unread message of the first session object to display the unread message of the first session object.
the blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer.
the block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, triggering the contracts and executing the contracts, developers can define contract logics through a certain programming language, issue the contract logics to a block chain (contract registration), call keys or other event triggering and executing according to the logics of contract clauses, complete the contract logics and simultaneously provide the function of upgrading and canceling the contracts; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
The platform product service layer provides basic capability and an implementation framework of typical application, and developers can complete block chain implementation of business logic based on the basic capability and the characteristics of the superposed business. The application service layer provides the application service based on the block chain scheme for the business participants to use.
The embodiment of the invention can perform preview display processing on the acquired unread message of the first session object to display the unread message of the first session object, jump to the session page of the first session object based on the chat operation aiming at the first unread message, and display the first unread message in the message display area of the session page. By adopting the mode, the first unread message can be automatically positioned and displayed in the message display area of the conversation page, and the user does not need to manually slide each unread message existing in the first conversation object, so that the first unread message can be found, and the processing efficiency of the first unread message can be improved.
Embodiments of the present invention further provide a computer storage medium, in which program instructions are stored, and when the program instructions are executed, the computer storage medium is configured to implement the corresponding method described in the above embodiments.
Referring to fig. 7, it is a schematic structural diagram of a message processing apparatus according to an embodiment of the present invention, where the message processing apparatus may be disposed in a terminal device.
In one implementation of the apparatus of the embodiment of the present invention, the apparatus includes the following structure.
An output module 701, configured to output unread message indication information of a target session object in which an unread message exists, where the unread message indication information records object information and an unread message indication identifier of the target session object;
A detecting module 702, configured to detect a preview viewing operation for a first session object, where the first session object is any one of the target session objects;
The obtaining module 703 is further configured to obtain an unread message of a first session object if a preview viewing operation for the first session object is detected;
A processing module 704, configured to perform preview display processing on the obtained unread message of the first session object, so as to display the unread message of the first session object; wherein the preview display processing includes: and carrying out bullet screen display processing on the unread message so as to display the unread message in a bullet screen mode, or generating a preview display window and displaying the unread message in the preview display window.
In one embodiment, the processing module 704 is further configured to jump to a conversation page of the first conversation object when the detection module 702 detects a chat operation for a first unread message, where the first unread message is any of at least one unread message corresponding to the first conversation object, and the conversation page includes a character input box for receiving conversation input information and a message display area for displaying messages; the output module 701 is further configured to display the first unread message in the message display area of the conversation page.
in an embodiment, the output module 701 is specifically configured to obtain display position information of the first unread message in the at least one unread message corresponding to the first session object; and according to the acquired display position information, performing sliding display processing on the unread message existing in the first session object in a message display area of the session page until the first unread message is displayed in the message display area of the session page.
In an embodiment, the obtaining module 703 is further configured to obtain identification information of the first session object, and determine a type of the first session object based on the identification information; if the type of the first session object is a group chat session type, acquiring a user identifier of a target user corresponding to the first unread message; the processing module 704 is further configured to fill an exclusive notification identifier in the character input box, where the exclusive notification identifier is used to identify that dialog input information entered after the exclusive notification identifier is information for notifying the target user.
In an embodiment, the obtaining module 703 is specifically configured to, when a preview viewing operation for the first session object is detected, obtain, from a server, message data corresponding to the first session object based on the identification information of the first session object; analyzing the message data to obtain at least one unread message corresponding to the first session object, and storing the at least one unread message corresponding to the first session object to a message queue, wherein each unread message in the message queue is stored according to a preset message format; and obtaining the unread message of the first session object from the message queue.
In an embodiment, the preview display processing includes bullet screen display processing on the unread messages, and the processing module 704 is specifically configured to generate a bullet screen page, and display at least one unread message corresponding to the first session object in a bullet screen form in the bullet screen page through the output module 701, where one unread message corresponds to one bullet screen message.
In an embodiment, the output module 701 is specifically configured to determine a priority of each unread message in at least one unread message corresponding to the first session object; determining queues to which the unread messages belong and display sequence of each queue based on the priority, wherein each queue comprises one or more unread messages; and displaying each queue in a bullet screen mode in a rolling mode according to the display sequence of each queue.
In one embodiment, the determining of the priority includes determining based on a sending time of the each unread message or determining based on a text analysis result of the each unread message.
in an embodiment, the preview display processing includes generating a preview display window, and displaying the unread message in the preview display window, where the processing module 704 is specifically configured to generate the preview display window, and scroll-display at least one unread message corresponding to the first session object in the preview display window at a preset scroll speed through the output module 701.
In one embodiment, a scroll speed adjustment button is displayed in the preview display window, and the output module 701 is further configured to overlay and display a scroll speed adjustment page on the preview display window when the detection module 702 detects a touch operation on the scroll speed adjustment button; adjusting the preset scroll speed based on an adjustment operation for the scroll speed adjustment button in the scroll speed adjustment page.
In an embodiment, the processing module 704 is further configured to obtain, from the server, message data corresponding to a preset session object of interest according to identification information of the preset session object of interest; and analyzing the message data to obtain at least one unread message corresponding to the preset concerned session object, and storing the at least one unread message corresponding to the preset concerned session object to a message queue.
In an embodiment, the processing module 704 is further configured to, when it is detected by the detecting module 702 that the session list page is output, obtain at least one unread message corresponding to the preset session object of interest from the message queue, and display the at least one unread message corresponding to the preset session object of interest in the session list page through the outputting module 701.
In the embodiment of the present invention, the specific implementation of the above modules may refer to the description of relevant contents in the embodiment corresponding to fig. 5 or fig. 6.
Referring to fig. 8 again, the structure of the terminal device in the embodiment of the present invention is shown schematically, and the terminal device in the embodiment of the present invention includes a power supply module and the like, and includes a processor 801, a storage device 802, an input device 803, and an output device 804. The processor 801, the storage 802, the input device 803 and the output device 804 can interact with each other to realize corresponding message processing functions by the processor 801.
The storage device 802 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the storage device 802 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), or the like; the storage means 802 may also comprise a combination of memories of the kind described above.
input devices 803 may include a touch pad, fingerprint sensor, microphone, etc., and output devices 804 may include a display (LCD, etc.), speakers, etc.
The processor 801 may be a Central Processing Unit (CPU). In one embodiment, the processor 801 may also be a Graphics Processing Unit (GPU) 801. The processor 801 may also be a combination of a CPU and a GPU. In the terminal device, a plurality of CPUs and GPUs may be included as necessary to perform corresponding image processing. In one embodiment, the storage 802 is used to store program instructions. The processor 801 may invoke the program instructions to implement the various methods as described above in embodiments of the invention.
in a first possible implementation, the processor 801 of the terminal device calls a program instruction stored in the storage device 802, and is configured to trigger an output device 804 to output unread message indication information of a target session object in which an unread message exists, where the unread message indication information records object information and an unread message indication identifier of the target session object; if a preview viewing operation for a first session object is detected through the input device 803, an unread message of the first session object is obtained, where the first session object is any one of the target session objects; performing preview display processing on the acquired unread message of the first session object to display the unread message of the first session object through an output device 804; wherein the preview display processing includes: and carrying out bullet screen display processing on the unread message so as to display the unread message in a bullet screen mode, or generating a preview display window and displaying the unread message in the preview display window.
In one embodiment, the processor 801 is further configured to jump to a conversation page of the first conversation object when the input device 803 detects a chat operation for a first unread message, where the first unread message is any of at least one unread message corresponding to the first conversation object, and the conversation page includes a character input box for receiving conversation input information and a message display area for displaying messages; an output device 804 further configured to display the first unread message in the message display area of the conversation page.
in an embodiment, the output device 804 is specifically configured to obtain display position information of the first unread message in the at least one unread message corresponding to the first session object; and according to the acquired display position information, performing sliding display processing on the unread message existing in the first session object in a message display area of the session page until the first unread message is displayed in the message display area of the session page.
in one embodiment, the processor 801 is further configured to obtain identification information of the first session object, and determine a type of the first session object based on the identification information; if the type of the first session object is a group chat session type, acquiring a user identifier of a target user corresponding to the first unread message; the processor 801 is further configured to fill an exclusive notification identifier in the character input box, where the exclusive notification identifier is used to identify that dialog input information entered after the exclusive notification identifier is information for notifying the target user.
In an embodiment, the processor 801 is specifically configured to, when a preview viewing operation for the first session object is detected, obtain, from a server, message data corresponding to the first session object based on the identification information of the first session object; analyzing the message data to obtain at least one unread message corresponding to the first session object, and storing the at least one unread message corresponding to the first session object to a message queue, wherein each unread message in the message queue is stored according to a preset message format; and obtaining the unread message of the first session object from the message queue.
In an embodiment, the preview display processing includes bullet screen display processing on the unread messages, and the processor 801 is specifically configured to generate a bullet screen page, and display at least one unread message corresponding to the first session object in a bullet screen form in the bullet screen page through the output device 804, where one unread message corresponds to one bullet screen message.
In an embodiment, the output device 804 is specifically configured to determine a priority of each unread message in at least one unread message corresponding to the first session object; determining queues to which the unread messages belong and display sequence of each queue based on the priority, wherein each queue comprises one or more unread messages; and displaying each queue in a bullet screen mode in a rolling mode according to the display sequence of each queue.
in one embodiment, the determining of the priority includes determining based on a sending time of the each unread message or determining based on a text analysis result of the each unread message.
In an embodiment, the preview display processing includes generating a preview display window, and displaying the unread messages in the preview display window, where the processor 801 is specifically configured to generate the preview display window, and scroll and display at least one unread message corresponding to the first session object in the preview display window at a preset scroll speed through the output device 804.
In one embodiment, a scroll speed adjustment button is displayed in the preview display window, and the output device 804 is further configured to overlay and display a scroll speed adjustment page on the preview display window when the input device 803 detects a touch operation on the scroll speed adjustment button; adjusting the preset scroll speed based on an adjustment operation for the scroll speed adjustment button in the scroll speed adjustment page.
In an embodiment, the processor 801 is further configured to obtain, from a server, message data corresponding to a preset session object of interest according to identification information of the preset session object of interest; and analyzing the message data to obtain at least one unread message corresponding to the preset concerned session object, and storing the at least one unread message corresponding to the preset concerned session object to a message queue.
In one embodiment, the apparatus further includes a processor 801, configured to, when it is detected that the session list page is output through the input device 803, obtain at least one unread message corresponding to the preset session object of interest from the message queue, and display the at least one unread message corresponding to the preset session object of interest in the session list page through the output device 804.
In the embodiment of the present invention, the processor 801 may be implemented as described in the foregoing description with reference to fig. 5 or fig. 6.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. A message processing method is applied to a terminal device, and comprises the following steps:
Outputting unread message indication information of a target session object with unread messages, wherein the unread message indication information records object information and an unread message indication identifier of the target session object;
If the preview viewing operation aiming at the first session object is detected, obtaining the unread message of the first session object, wherein the first session object is any one of the target session objects;
Performing preview display processing on the acquired unread message of the first session object to display the unread message of the first session object;
wherein the preview display processing includes: and carrying out bullet screen display processing on the unread message so as to display the unread message in a bullet screen mode, or generating a preview display window and displaying the unread message in the preview display window.
2. The method of claim 1, wherein after the performing the preview display processing on the acquired unread message of the first session object to display the unread message of the first session object, the method further comprises:
When a chat operation aiming at a first unread message is detected, jumping to a conversation page of the first conversation object, wherein the first unread message is any unread message in at least one unread message corresponding to the first conversation object, and the conversation page comprises a character input box for receiving conversation input information and a message display area for displaying messages;
displaying the first unread message in the message display area of the conversation page.
3. The method of claim 2, wherein said displaying the first unread message in the message display area of the conversation page, comprises:
Acquiring display position information of the first unread message in the at least one unread message corresponding to the first session object;
And according to the acquired display position information, performing sliding display processing on the unread message existing in the first session object in a message display area of the session page until the first unread message is displayed in the message display area of the session page.
4. the method of claim 2, wherein after the jumping to the session page of the first session object, the method further comprises:
acquiring identification information of the first session object, and determining the type of the first session object based on the identification information;
If the type of the first session object is a group chat session type, acquiring a user identifier of a target user corresponding to the first unread message;
And filling an exclusive notification identifier in the character input box, wherein the exclusive notification identifier is used for identifying dialog input information which is input after the exclusive notification identifier as information for notifying the target user.
5. The method of claim 1, wherein the retrieving the unread message for the first session object if the preview view operation for the first session object is detected comprises:
When a preview viewing operation for the first session object is detected, acquiring message data corresponding to the first session object from a server based on the identification information of the first session object;
Analyzing the message data to obtain at least one unread message corresponding to the first session object, and storing the at least one unread message corresponding to the first session object to a message queue, wherein each unread message in the message queue is stored according to a preset message format;
And obtaining the unread message of the first session object from the message queue.
6. The method of claim 1, wherein the preview display processing comprises bullet screen display processing on the unread messages, and the preview display processing on the acquired unread messages of the first session object to display the unread messages of the first session object comprises:
And generating a bullet screen page, and displaying at least one unread message corresponding to the first session object in the bullet screen page in a bullet screen mode, wherein one unread message corresponds to one bullet screen message.
7. the method of claim 6, wherein said displaying at least one unread message corresponding to the first session object in a bullet screen form in the bullet screen page comprises:
Determining the priority of each unread message in at least one unread message corresponding to the first session object;
Determining queues to which the unread messages belong and display sequence of each queue based on the priority, wherein each queue comprises one or more unread messages;
and displaying each queue in a bullet screen mode in a rolling mode according to the display sequence of each queue.
8. the method of claim 7, wherein the priority determination comprises determining based on a transmission time of the respective unread message or determining based on a text analysis result of the respective unread message.
9. the method of claim 1, wherein the preview display processing comprises generating a preview display window and displaying the unread messages in the preview display window, and the performing the preview display processing on the acquired unread messages of the first session object to display the unread messages of the first session object comprises:
Generating the preview display window;
And scrolling and displaying at least one unread message corresponding to the first session object in the preview display window at a preset scrolling speed.
10. The method of claim 9, wherein a scroll speed adjustment button is displayed in the preview display window, and wherein after the scrolling of the at least one unread message corresponding to the first session object in the preview display window at the preset scroll speed, the method further comprises:
when the touch operation aiming at the scroll speed adjusting button is detected, a scroll speed adjusting page is displayed on the preview display window in an overlaying mode;
Adjusting the preset scroll speed based on an adjustment operation for the scroll speed adjustment button in the scroll speed adjustment page.
11. the method of claim 1, wherein the method further comprises:
Acquiring message data corresponding to a preset concerned session object from a server according to identification information of the preset concerned session object;
And analyzing the message data to obtain at least one unread message corresponding to the preset concerned session object, and storing the at least one unread message corresponding to the preset concerned session object to a message queue.
12. The method of claim 11, further comprising:
Under the condition that a conversation list page is detected to be output, acquiring at least one unread message corresponding to the preset concerned conversation object from the message queue;
And displaying at least one unread message corresponding to the preset concerned session object in the session list page.
13. A message processing apparatus, wherein the apparatus is configured to a terminal device, the apparatus comprising:
The output module is used for outputting the unread message indication information of the target session object with the unread message, wherein the unread message indication information records the object information and the unread message indication identifier of the target session object;
The detection module is used for detecting preview viewing operation aiming at a first session object, wherein the first session object is any one of the target session objects;
The obtaining module is further configured to obtain an unread message of a first session object if a preview viewing operation for the first session object is detected;
The processing module is used for performing preview display processing on the acquired unread message of the first session object so as to display the unread message of the first session object;
wherein the preview display processing includes: and carrying out bullet screen display processing on the unread message so as to display the unread message in a bullet screen mode, or generating a preview display window and displaying the unread message in the preview display window.
14. A terminal device, characterized in that it comprises a processor and a storage means, said processor and storage means being interconnected, wherein said storage means is adapted to store a computer program comprising program instructions, said processor being configured to invoke said program instructions to perform the method according to any one of claims 1-12.
15. a computer storage medium having stored thereon program instructions for implementing a method according to any one of claims 1 to 12 when executed.
CN201910844221.XA 2019-09-06 2019-09-06 Message processing method and device, terminal equipment and storage medium Active CN110543269B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910844221.XA CN110543269B (en) 2019-09-06 2019-09-06 Message processing method and device, terminal equipment and storage medium
CN202110363791.4A CN112987995A (en) 2019-09-06 2019-09-06 Message processing method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910844221.XA CN110543269B (en) 2019-09-06 2019-09-06 Message processing method and device, terminal equipment and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110363791.4A Division CN112987995A (en) 2019-09-06 2019-09-06 Message processing method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110543269A true CN110543269A (en) 2019-12-06
CN110543269B CN110543269B (en) 2021-04-30

Family

ID=68712924

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110363791.4A Pending CN112987995A (en) 2019-09-06 2019-09-06 Message processing method and device, terminal equipment and storage medium
CN201910844221.XA Active CN110543269B (en) 2019-09-06 2019-09-06 Message processing method and device, terminal equipment and storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110363791.4A Pending CN112987995A (en) 2019-09-06 2019-09-06 Message processing method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (2) CN112987995A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371674A (en) * 2020-02-26 2020-07-03 上海掌门科技有限公司 Interaction method and device for unread message identification and computer readable medium
CN111562866A (en) * 2020-02-26 2020-08-21 北京达佳互联信息技术有限公司 Message viewing method and device, electronic equipment and storage medium
CN111596823A (en) * 2020-04-30 2020-08-28 北京字节跳动网络技术有限公司 Page display method and device and electronic equipment
CN111967430A (en) * 2020-08-28 2020-11-20 维沃移动通信有限公司 Message processing method and device, electronic equipment and readable storage medium
CN112083994A (en) * 2020-09-02 2020-12-15 珠海格力电器股份有限公司 Notification message processing method and device
CN112165390A (en) * 2020-09-25 2021-01-01 腾讯科技(深圳)有限公司 Information processing method and device, electronic equipment and computer readable storage medium
CN112737922A (en) * 2020-12-23 2021-04-30 江苏苏宁云计算有限公司 Communication method, communication device, computer equipment and storage medium
CN113179206A (en) * 2021-04-09 2021-07-27 北京达佳互联信息技术有限公司 Session display method, session acquisition method, device, equipment, system and medium
CN113364664A (en) * 2020-03-05 2021-09-07 北京沃东天骏信息技术有限公司 Instant messaging method and device
CN113870442A (en) * 2021-12-03 2021-12-31 贝壳技术有限公司 Content display method and device in three-dimensional house model
CN113973097A (en) * 2020-07-24 2022-01-25 腾讯科技(深圳)有限公司 Message display method, device and storage medium
CN114244639A (en) * 2021-12-16 2022-03-25 湖北亿咖通科技有限公司 Method for processing object with unread information in chat tool and storage medium
CN114518829A (en) * 2020-11-20 2022-05-20 腾讯科技(深圳)有限公司 Reminding method, device, equipment and medium for unread messages
CN114553807A (en) * 2022-02-28 2022-05-27 亿咖通(湖北)技术有限公司 Message management method in chat tool and electronic equipment
WO2024055792A1 (en) * 2022-09-14 2024-03-21 腾讯科技(深圳)有限公司 Message preview method and apparatus in virtual social scene, electronic device, computer readable medium, and computer program product
US11960546B2 (en) 2022-06-02 2024-04-16 International Business Machines Corporation Summarization of ambiguous strings

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140181721A1 (en) * 2012-12-26 2014-06-26 Lookout, Inc. Graphical user interface for improved text character entry
US20150127755A1 (en) * 2013-11-05 2015-05-07 Samsung Electronics Co., Ltd. Method and apparatus for checking status of messages in electronic device
CN106020613A (en) * 2016-05-25 2016-10-12 维沃移动通信有限公司 Operation method and mobile terminal for unread messages
CN106055264A (en) * 2016-06-14 2016-10-26 珠海市魅族科技有限公司 Information display method and display device
CN106202095A (en) * 2015-05-05 2016-12-07 腾讯科技(深圳)有限公司 Group message display packing and device
CN106325671A (en) * 2016-08-16 2017-01-11 浙江翼信科技有限公司 Message reply method and device
CN107295167A (en) * 2017-06-14 2017-10-24 北京小米移动软件有限公司 Method for information display and device
US20170317960A1 (en) * 2016-04-28 2017-11-02 Jamdeo Canada Ltd. Device and methods for messaging application control and presentation
US20170353842A1 (en) * 2016-06-07 2017-12-07 Nuance Communications, Inc. Secure communications via a mobile keyboard application of a mobile device
US20180198887A1 (en) * 2017-01-09 2018-07-12 International Business Machines Corporation Displaying context in group chats using member tagging
CN108347533A (en) * 2018-02-08 2018-07-31 上海爱优威软件开发有限公司 A kind of message display and answering method and terminal
CN108363628A (en) * 2018-02-12 2018-08-03 广东欧珀移动通信有限公司 Message treatment method, device, terminal and computer readable storage medium
CN108737240A (en) * 2017-04-18 2018-11-02 阿里巴巴集团控股有限公司 The method that the method, apparatus and group that chat group automatically creates create
CN108804004A (en) * 2018-05-03 2018-11-13 珠海格力电器股份有限公司 A kind of split screen control method, device, storage medium and terminal
CN109117068A (en) * 2016-05-18 2019-01-01 苹果公司 Equipment, method and graphic user interface for messaging
CN109857290A (en) * 2018-12-24 2019-06-07 维沃移动通信有限公司 One kind not reading content display method and terminal device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140181721A1 (en) * 2012-12-26 2014-06-26 Lookout, Inc. Graphical user interface for improved text character entry
US20150127755A1 (en) * 2013-11-05 2015-05-07 Samsung Electronics Co., Ltd. Method and apparatus for checking status of messages in electronic device
CN106202095A (en) * 2015-05-05 2016-12-07 腾讯科技(深圳)有限公司 Group message display packing and device
US20170317960A1 (en) * 2016-04-28 2017-11-02 Jamdeo Canada Ltd. Device and methods for messaging application control and presentation
CN109117068A (en) * 2016-05-18 2019-01-01 苹果公司 Equipment, method and graphic user interface for messaging
CN106020613A (en) * 2016-05-25 2016-10-12 维沃移动通信有限公司 Operation method and mobile terminal for unread messages
US20170353842A1 (en) * 2016-06-07 2017-12-07 Nuance Communications, Inc. Secure communications via a mobile keyboard application of a mobile device
CN106055264A (en) * 2016-06-14 2016-10-26 珠海市魅族科技有限公司 Information display method and display device
CN106325671A (en) * 2016-08-16 2017-01-11 浙江翼信科技有限公司 Message reply method and device
US20180198887A1 (en) * 2017-01-09 2018-07-12 International Business Machines Corporation Displaying context in group chats using member tagging
CN108737240A (en) * 2017-04-18 2018-11-02 阿里巴巴集团控股有限公司 The method that the method, apparatus and group that chat group automatically creates create
CN107295167A (en) * 2017-06-14 2017-10-24 北京小米移动软件有限公司 Method for information display and device
CN108347533A (en) * 2018-02-08 2018-07-31 上海爱优威软件开发有限公司 A kind of message display and answering method and terminal
CN108363628A (en) * 2018-02-12 2018-08-03 广东欧珀移动通信有限公司 Message treatment method, device, terminal and computer readable storage medium
CN108804004A (en) * 2018-05-03 2018-11-13 珠海格力电器股份有限公司 A kind of split screen control method, device, storage medium and terminal
CN109857290A (en) * 2018-12-24 2019-06-07 维沃移动通信有限公司 One kind not reading content display method and terminal device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
安卓笔记侠: "Android进入页面开始就自动弹出软键盘", 《HTTPS://WWW.CNBLOGS.COM/GANCHUANPU/P/7011559.HTML》 *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021169792A1 (en) * 2020-02-26 2021-09-02 北京达佳互联信息技术有限公司 Message viewing method and apparatus
CN111562866A (en) * 2020-02-26 2020-08-21 北京达佳互联信息技术有限公司 Message viewing method and device, electronic equipment and storage medium
CN111371674B (en) * 2020-02-26 2023-02-07 上海掌门科技有限公司 Interaction method and device for unread message identification and computer readable medium
CN111371674A (en) * 2020-02-26 2020-07-03 上海掌门科技有限公司 Interaction method and device for unread message identification and computer readable medium
CN113364664A (en) * 2020-03-05 2021-09-07 北京沃东天骏信息技术有限公司 Instant messaging method and device
CN111596823A (en) * 2020-04-30 2020-08-28 北京字节跳动网络技术有限公司 Page display method and device and electronic equipment
CN111596823B (en) * 2020-04-30 2022-05-17 北京字节跳动网络技术有限公司 Page display method and device and electronic equipment
CN113973097A (en) * 2020-07-24 2022-01-25 腾讯科技(深圳)有限公司 Message display method, device and storage medium
CN111967430A (en) * 2020-08-28 2020-11-20 维沃移动通信有限公司 Message processing method and device, electronic equipment and readable storage medium
CN112083994A (en) * 2020-09-02 2020-12-15 珠海格力电器股份有限公司 Notification message processing method and device
CN112165390A (en) * 2020-09-25 2021-01-01 腾讯科技(深圳)有限公司 Information processing method and device, electronic equipment and computer readable storage medium
CN112165390B (en) * 2020-09-25 2021-08-27 腾讯科技(深圳)有限公司 Information processing method and device, electronic equipment and computer readable storage medium
CN114518829A (en) * 2020-11-20 2022-05-20 腾讯科技(深圳)有限公司 Reminding method, device, equipment and medium for unread messages
CN114518829B (en) * 2020-11-20 2024-04-19 腾讯科技(深圳)有限公司 Unread message reminding method, device, equipment and medium
CN112737922A (en) * 2020-12-23 2021-04-30 江苏苏宁云计算有限公司 Communication method, communication device, computer equipment and storage medium
CN113179206A (en) * 2021-04-09 2021-07-27 北京达佳互联信息技术有限公司 Session display method, session acquisition method, device, equipment, system and medium
CN113870442B (en) * 2021-12-03 2022-02-25 贝壳技术有限公司 Content display method and device in three-dimensional house model
CN113870442A (en) * 2021-12-03 2021-12-31 贝壳技术有限公司 Content display method and device in three-dimensional house model
CN114244639A (en) * 2021-12-16 2022-03-25 湖北亿咖通科技有限公司 Method for processing object with unread information in chat tool and storage medium
CN114244639B (en) * 2021-12-16 2023-08-11 亿咖通(湖北)技术有限公司 Method for processing object with unread information in chat tool and storage medium
CN114553807A (en) * 2022-02-28 2022-05-27 亿咖通(湖北)技术有限公司 Message management method in chat tool and electronic equipment
CN114553807B (en) * 2022-02-28 2023-12-05 亿咖通(湖北)技术有限公司 Message management method in chat tool and electronic equipment
US11960546B2 (en) 2022-06-02 2024-04-16 International Business Machines Corporation Summarization of ambiguous strings
WO2024055792A1 (en) * 2022-09-14 2024-03-21 腾讯科技(深圳)有限公司 Message preview method and apparatus in virtual social scene, electronic device, computer readable medium, and computer program product

Also Published As

Publication number Publication date
CN112987995A (en) 2021-06-18
CN110543269B (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN110543269B (en) Message processing method and device, terminal equipment and storage medium
US10389662B2 (en) Aggregation and visualization of multiple chat room information
CN101867487B (en) With the system and method for figure call connection symbol management association centre
CN113300938B (en) Message sending method and device and electronic equipment
CN109416591A (en) Image data for enhanced user interaction
US20180342019A1 (en) Method and device for acquiring transaction record, and computer readable storage medium
CN110121146B (en) Information sharing method and device and related equipment
CN107765976B (en) Message pushing method, terminal and system
CN111510439A (en) Session reminding method and device, computer equipment and storage medium
CN106896986B (en) Conference record generation method and device
CN106611065B (en) Searching method and device
CN107508745B (en) Prompting message associated input method and device and computing equipment
CN110232267B (en) Business card display method and device, electronic equipment and storage medium
CN113411193B (en) Message sending method, device, electronic equipment and readable storage medium
JP6929670B2 (en) Programs, information processing methods, terminals
JP7338935B2 (en) terminal display method, terminal, terminal program
CN109391537A (en) A kind of information processing method, device and computer storage medium
CN112684912A (en) Candidate information display method and device and electronic equipment
CN113593614A (en) Image processing method and device
CN113076435A (en) Information processing method, processing device, electronic device and readable storage medium
CN112134987A (en) Information processing method and device and electronic equipment
CN112968827A (en) Intelligent communication method and client in network security level protection
CN111124701A (en) Message processing method and device and terminal
US11605464B2 (en) Systems and methods for machine learning-based state prediction and visualization
KR101541104B1 (en) Mobile Forensics Visualization Method using a Animaion

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant